package com.icebartech.core.conf;

import org.springframework.boot.context.properties.ConfigurationProperties;

import com.alibaba.fastjson.JSON;

/**
 * 公众号相关配置
 */
@ConfigurationProperties(prefix = "mpweixin")
public class MpWeixinProperties{

    private String token;
    private String appId;
    private String appSecret;

    public String getToken() {
		return token;
	}



	public void setToken(String token) {
		this.token = token;
	}



	public String getAppId() {
		return appId;
	}



	public void setAppId(String appId) {
		this.appId = appId;
	}



	public String getAppSecret() {
		return appSecret;
	}



	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}



	@Override
    public String toString() {
        return JSON.toJSONString(this);
    }
}
